console.log('require.main.filename', require.main.filename);
console.log('require.main.filename', require.main);
var fs = require('fs');
var path = require('path');
var fliename = path.join(__dirname,'./test/a/apple');
console.log(path);
// const defaultList = [0,1,2,3,4]
const dL = [0,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,40,1,2,3,4,0,3,4,0,0];
const dL2 = [...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL,...dL]
// const localStorage = require('/ql/data/scripts/zxxb/function/localStorage')
const localStorage = require('D:/code/fhs-vscode/gitee-pages-resources/ql/data/scripts/zxxb/function/localStorage.js')

// console.log('start-cookie', localStorage.get('cookie'));
let index = 0
const list = [...dL2,...dL2,...dL2]
// list.forEach(async item => {
//     index++
//     console.log(`${index}-set-cookie`, localStorage.get('cookie'));
//     await localStorage.set('cookie', Math.random())
// })
// for (let index = 0; index < 10000; index++) {
//     console.log(`${index}-set-cookie`, localStorage.get('cookie'));
//     localStorage.set('cookie', Math.random())
// }
// console.log('end-cookie', localStorage.get('cookie'));
